package com.javayh.dao;

import com.javayh.entity.TreeDemoEntity;
import com.javayh.util.tree.TreeNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import javax.persistence.ManyToMany;
import java.util.List;

/**
 * @author Dylan Yang
 * @Title: TreeDao
 * @ProjectName lucky
 * @Description: TODO
 * @date 2018/10/1317:27
 */
@Mapper
public interface TreeDao {
    @Select("select * from tree_demo")
    List<TreeNode> queryList();
}

